package com.atguigu.dao;

import com.atguigu.pojo.Member;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface MemberDao {
    Member getByTelephone(String phoneNumber);

    void registerMember(Member member1);

    void add(Member member);

    Integer findMemberCountBeforeDate(String date);

    Integer addMemberNums(@Param("date2String") String date2String);

    Integer getTotalMember();

    Integer getThisWeekNums(@Param("thisWeekMonday") String thisWeekMonday,@Param("lastDayOfWeek") String lastDayOfWeek);

    Integer getThisMonthNums(@Param("firstDay") String firstDay, @Param("lastDay") String lastDay);
}
